The base class which declares functionality for entity collections.
The TCustomCollection{T} class inherits from TObjectEnumerable<T>, so it has methods for iterating through a collection of entities and access its items. Also, the class supports the ICustomCollection<T> interface and implements methods for modifying the entity collection: adding and removing items.
Since the collection operates with entities as elements, it has to be associated with a data context.
TCustomCollection{T} is a base class, so it should not be used directly. For handling entities in the code, TCustomCollection{T} descendants such as TEntityCollection<T> and TObjectCollection<T> have to be used.